If you need a theoretical exploration of the grammar of graphics and its use with ggplot2, see a ggplot2 grammar guide.


The geom pile on is a suppliment to the ggplot grammar guide and shows you a lot of “geoms” that you can use to communicate about your data. Piling up the geoms allows you to see how plot types relate to one another.


ggplot themes takes you through logic of the ggplot2 theme adjustments.


For examples of data wrangling/manipulation with pipelines and pipes (%>%), check out The Tidyverse in Action.


geom_sf gives you an example of using geom_sf with ggplot to create coordinate plots and choropleths.


ggtext gives you an example of the how the new ggtext package can be used; this example by Klaus Schulte.


the data cleaning flipbook gives you some life-changing, magical, and real-life examples of reading data into R and cleaning it (aka “tidying up”). Demonstrates uses of {janitor}, {countrycode}, and {lubridate} as well as regex with {stringr}.


the ggplot flipbook is a gallery example plots built using ggplot2.


Galton Board shows you how to build your own Galton Board with R, ggplot2, and gganimate.


leaflet for R (interactive maps) walk through some interactive map builds using the {leaflet} package (loads slow!).


the racing barchart will give you a chance to flex your ggplot2 and gganimate muscles.


D’Hondt/Jefferson Allocation helps to explain just how seats are allocated under this common political decision rule.


UNGA voting data is a flipbook that looks at the number of votes taken in the UN General Assembly. It also shows how you can make a lot of lateral moves and even backward steps with your decisions in ggplot2 - like with facet_null() and overwriting aesthetic decisions with NULL - aes(color = NULL).


a data.table flipbook is an introduction to the popular data manipulation package, {data.table}.


#TidyTuesday walk through showcases a few of the beautiful contributions to the #TidyTuesday initiative


[simpsona]


Stacked Column -> Pie Chart reveals some of the deep logic of the grammar of graphics — Stacked column plots, and pie plots and donut plots are related by choices in coordinate systems and extent of axes.